/**
 * 客户管理
 */
export default {
  /** 查询客户列表 */
  'get /user-api/a/users': {
    code: 0,
    msg: 'OK',
    data: {
      total: 3,
      items: [
        {
          id: 1,
          phone: '18512342903',
          nickname: '张三',
          status: 1,
          avatar: 'https://assets-cdn.github.com/images/modules/site/logos/swift-logo.png',
          createdDate: '2018-05-12 12:12:12',
        },
        {
          id: 2,
          phone: '18512342903',
          nickname: '李四',
          status: 2,
          avatar: 'https://assets-cdn.github.com/images/modules/site/logos/swift-logo.png',
          createdDate: '2018-05-12 12:12:12',
        },
        {
          id: 3,
          phone: '18512342903',
          nickname: '张三',
          status: 1,
          avatar: 'https://assets-cdn.github.com/images/modules/site/logos/swift-logo.png',
          createdDate: '2018-05-12 12:12:12',
        },
      ],
    },
  },
  /* 查询客户详情 */
  'get /user-api/a/users/:id': {
    code: 0,
    msg: 'OK',
    data: {
      id: 3,
      phone: '18512342903',
      birthdate: '2010-12-12',
      nickname: '张三',
      status: 1,
      gender: 1,
      avatar: 'https://assets-cdn.github.com/images/modules/site/logos/swift-logo.png',
      createdDate: '2018-05-12 12:12:12',
    },
  },
  /* 查询学习状态 */
  'get /study-api/a/users/:id/status': {
    code: 0,
    msg: 'OK',
    data: {
      evaluateLevel: '良好',
      currentLevel: 1,
      wordCount: 2000,
    },
  },
  /* 获取等级列表 */
  'get /course-api/a/levels': {
    code: 0,
    msg: 'OK',
    data: {
      total: 3,
      items: [
        {
          id: 1,
          level: 1,
          wordCount: 2000,
          rate: 80,
        },
        {
          id: 2,
          level: 2,
          wordCount: 2500,
          rate: 60,
        },
        {
          id: 3,
          level: 3,
          wordCount: 3000,
          rate: 50,
        },
      ],
    },
  },
  /* 修改学习等级 */
  'post /study-api/a/users/:id/level': {
    code: 0,
    msg: 'OK',
    data: '',
  },
};
